<?php if(count($tags)): ?>
<div class="well">
	<h3>Popular Tags</h3>
	<?php foreach($tags as $tag): ?>
	<a class="tag btn btn-warning" href="/tag/<?php echo $tag['category_slug']; ?>"
	><?php echo $tag['category_title']; ?></a>
	<?php endforeach; ?>
</div>
<?php endif; ?>